package org.millioncall.yueyoga.admin.service;

import java.util.Map;

public interface WeiXinService {

	public String execute(String xmlData);

	public String handleMsg(Map<String, String> msg);

	public String handleUnknowMsg(Map<String, String> map);

	public String handleLinkMsg(Map<String, String> map);

	public String handleEventMsg(Map<String, String> map);
	
	public String getTextReply(String content, Map<String, String> map);
	
	public String generatorXml(Map<String, String> reply);

	public String handleImageMsg(Map<String, String> map);
	
	public String handleLocationMsg(Map<String, String> map);
	
	public String handleTextMsg(Map<String, String> map);

	public boolean check(String signature, String timestamp, String nonce);

}
